// demo/setting.js
Page({
  data: {},

  formSubmit(e) {
    const form = e.detail.value;
    form.id = 1;
    const paramString = JSON.stringify(form);
    const page = '../measuring/measuring';
    wx.navigateTo({
      url: `${page}?form=${paramString}`,
    });
  },
});
